package com;

import com.util.boxs.paints.PaintableObject;

import javax.swing.*;

public class HeroBird extends PaintableObject {
    public HeroBird(int x,int y){
        super(x,y,23);
        this.body.setStatic(true);
    }


    public ImageIcon getImage() {
        return Images.heroBird;
    }
    public void go(){
        getBody().setLinearVelocity(500,500);
    }

    public void go(int x,int y){
        getBody().setLinearVelocity(x,y);
    }


}
